﻿using System;

namespace InterfaceAndImplements
{
    class Program
    {
        static void Main(string[] args)
        {
            //会飞
            Birds birds = new Birds();//创建接口实例
            birds.BirdsFly();//鸟儿飞
            birds.Eat();//鸟儿吃吃吃次

                //不会飞
            FitBirds fitBirds = new FitBirds();
            fitBirds.BirdsCanNotFly();

            //隐式实现
            Storybook storybook = new Storybook();
            storybook.Book();
        }
    }
}
